/**
 * Created by Administrator on 2017/7/2 002.
 */
import Vue from 'vue'
import VueRouter from 'vue-router'
import diany from '../components/diany.vue'
import tongc from '../components/tongc.vue'
import my from '../components/my.vue'
Vue.use(VueRouter)
export default new VueRouter({
  routes: [
    {
      path: '/',
      components: {
        default: diany,
        tongc: tongc,
        my: my
      }
    },
    {
      path: '*',
      redirect: '/'
    }
  ]
})
